<div class="Contpl">
            	<div class="Adpl"><a href="javascript:void(0);" onClick="
       <?php if($sf_user->isAuthenticated()): ?>            
    layerOper('<?php echo url_for('worry/comment?worry_id='.$worry->getId()); ?>')
     <?php else: ?>
         layer.msg('请先登入！');
         <?php endif; ?>" >写评论</a></div>
            <?php foreach($pager->getResults() as $comment): ?>
                <div class="Pllist">
                	<div class="plpto"><img src="<?php echo $comment->getAuthorCover(); ?>" width="38" height="38"></div>
                    <div class="pltx">
                    	<div class="pluser"><?php echo $comment->getAuthorName(); ?></div>
                        <div class="plcont"><?php echo $comment->getContent(); ?></div>
                        <div class="pltime"><?php echo date('Y-m-d H:i:s',strtotime($comment->getCreatedAt())); ?></div>
                    </div>
                </div>
                <?php endforeach; ?>

                <?php echo pager_navigation_worry($pager, 'worry/show?id='.$worry->getId()); ?>
                <!--<div class="page"><a href="">上一页</a><a href="">1</a><a href="">2</a><a href="">3</a><a href="">4</a><a href="">5</a><a href="">6</a><a href="">7</a><a href="">下一页</a></div>-->
            </div>